package com.gfhd.feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "userserve",url = "")
public interface UserClient {
    @GetMapping("/user/id")
    User findById(@PathVariable("id") Long ide);
}
